<%@ page pageEncoding="UTF-8"%>
<script language="JavaScript" src="JSClass/FusionCharts.js"></script> 

<div id="chartdiv" align="center"> 
</div>

<script type="text/javascript">
	// var chart = new FusionCharts("Charts/Doughnut2D.swf", "ChartId", "450", "300", "0", "0");
	//  chart.setDataURL("Data/Doughnut2D.xml");		   
	//  chart.render("chartdiv");
	var chart = new FusionCharts("Charts/Doughnut2D.swf", "ChartId", "500", "369");
	chart.setDataURL("Data.xml");		   
	chart.render("chartdiv");
  
	// var  oElement = document.getElementById ("chartdiv"); 
	// var chartXML=oElement.innerHTML;
	// chartXML=encodeURI(chartXML);
	// chart.setDataXML(chartXML);
    
    // http://192.168.243.136:8080/skyfms/styles/fushionChart/flp.jsp
	// 使用该页面进行功能测试时，请注意：并不是所有的浏览器都能显示出图形
</script> 
 